package com.bjpowernode.springboot;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Application {

    public static void main(String[] args) {
        //SpringApplication.run(Application.class,args);

        //获取入口SpringBoot类
        SpringApplication springApplication= new SpringApplication(Application.class);

        /*
            * Banner.Mode.OFF:关闭;
            * Banner.Mode.CONSOLE:控制台输出，默认方式;
            * Banner.Mode.LOG:日志输出方式;
        */

        //设置它的属性
        springApplication.setBannerMode(Banner.Mode.OFF);

        springApplication.run(args);
    }

}
